<style>
<!--
.kscrMenu { width: 100%; min-width: 200px; height: 42px; padding-top: 5px; padding-right: 5px; }
.kscrMenuName { width: 53px; text-align: right; line-height: 30px; font-weight: bold; }
#kscrDialog, #kscrFileDialog { width: 400px; height: 200px; padding: 10px; }
-->
</style>

<div class="easyui-panel" data-options="title:'数据整合',border:false,fit:true">
	<div class="easyui-layout" data-options="border:false,fit:true">
		<div data-options="region:'west',split:true" style="width:300px;">
			<div class="kscrMenu">
				<div class="easyui-layout" data-options="border:false,fit:true">
					<div data-options="region:'west',border:false" class="kscrMenuName">资源库：</div>
					<div data-options="region:'center',border:false">
						<select id="kscrSelectRepo" class="easyui-combobox" data-options="valueField:'id',textField:'text',panelHeight:'auto',
							panelMaxHeight:200" style="width:100%;"></select>
					</div>
				</div>
			</div>
			<ul id="kscrTree" data-options="lines:true" style="width:100%;margin-top:5px;"></ul>
		</div>
		<div data-options="region:'center'">
			<table id="kscrFileList" data-options="loadMsg:'数据加载中...',fit:true,striped:true,singleSelect:true,border:false,
				toolbar:'#kscrFileListToolbar'"></table>
		</div>
	</div>
</div>

<div id="kscrTreeMenu" class="easyui-menu" style="width:120px;">
    <div onclick="kscrReload()" data-options="iconCls:'icon-reload'">刷新</div>
    <div onclick="kscrOpenDialog('add')" data-options="iconCls:'icon-add'">新增</div>
    <div onclick="kscrRemove()" data-options="iconCls:'icon-remove'">删除</div>
    <div onclick="kscrOpenDialog('reset')" data-options="iconCls:'icon-undo'">重命名</div>
</div>
<div id="kscrDialog" class="easyui-dialog" data-options="closable:false,closed:true,modal:true" title="新增">
	<div>
		<input id="kscrDirPName" class="easyui-textbox" data-options="label:'父节点:',labelAlign:'right',readonly:true" style="width:95%;"/>
    </div>
    <div style="margin-top:10px;">
		<input id="kscrDirName" class="easyui-textbox" data-options="label:'文件夹名称:',labelAlign:'right',required:true" style="width:95%;"/>
    </div>
</div>
<div id="kscrFileListToolbar" style="padding:4px;">
	<a href="javascript:kscrUploadFile()" class="easyui-linkbutton" data-options="iconCls:'icon-add'">上传文件</a>
</div>
<div id="kscrFileDialog" class="easyui-dialog" data-options="closable:false,closed:true,modal:true" title="新增">
	<form id="kscrFileForm" enctype="multipart/form-data" method="post">
		<div>
			<input id="kscrFolderName" class="easyui-textbox" data-options="label:'文件夹名称:',labelAlign:'right',readonly:true" style="width:95%;"/>
    	</div>
    	<div style="margin-top: 10px;">
			<input name="file" id="kscrFileTmp" class="easyui-filebox" data-options="label:'文件：',labelAlign:'right',prompt:'选择文件...',buttonText:'选择'" 
				style="width:95%">
		</div>
	</form>
</div>

<script type="text/javascript" src="cusy/js/data_integration.js"></script>